package com.qf.entity;

import java.util.Date;
import java.util.List;

public class OrderEntity {

    private String oid;
    private int cid;
    private int ostatus;//订单状态
    private Date ocreateDate;
    private float ototalPrice;
    private int addressId; //地址id
    private int isdelete;

    private CustomerEntity customer;//这个订单是哪个用户的
    private List<OrderDetailEntity> orderDetails;
    private List<AddressEntity> addressEntities;//订单中的地址

    private int pageNum = 1; //默认显示第一页
    private int pageSize = 3; //默认每页显示3条记录

    private float ototalPrice01;
    private float ototalPrice02;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public Date getOcreateDate() {
        return ocreateDate;
    }

    public void setOcreateDate(Date ocreateDate) {
        this.ocreateDate = ocreateDate;
    }

    public float getOtotalPrice() {
        return ototalPrice;
    }

    public void setOtotalPrice(float ototalPrice) {
        this.ototalPrice = ototalPrice;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public CustomerEntity getCustomer() {
        return customer;
    }

    public void setCustomer(CustomerEntity customer) {
        this.customer = customer;
    }

    public List<OrderDetailEntity> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<OrderDetailEntity> orderDetails) {
        this.orderDetails = orderDetails;
    }

    public List<AddressEntity> getAddressEntities() {
        return addressEntities;
    }

    public void setAddressEntities(List<AddressEntity> addressEntities) {
        this.addressEntities = addressEntities;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public float getOtotalPrice01() {
        return ototalPrice01;
    }

    public void setOtotalPrice01(float ototalPrice01) {
        this.ototalPrice01 = ototalPrice01;
    }

    public float getOtotalPrice02() {
        return ototalPrice02;
    }

    public void setOtotalPrice02(float ototalPrice02) {
        this.ototalPrice02 = ototalPrice02;
    }
}
